package bank.driver.soap;

import java.io.IOException;
import java.net.UnknownHostException;

import bank.Bank;
import bank.BankDriver;

final public class SOAPDriver implements BankDriver {

	private Bank bank = null;

	@Override
	public void connect(String[] args) throws NumberFormatException, UnknownHostException, IOException {
		bank = new SOAPBank();
	}

	@Override
	public void disconnect() {
		bank = null;
	}

	@Override
	public Bank getBank() {
		return bank;
	}
}
